﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PowerBooking.RSE.Poco;

namespace PowerBooking.RSE.IRepository
{
    /// <summary>
    /// 筛选项仓储接口
    /// </summary>
    public interface IFilterRepository
    {
        /// <summary>
        /// 根据城市ID查询筛选项集合
        /// </summary>
        /// <param name="cityID"></param>
        /// <returns></returns>
        IEnumerable<FilterPoco> QueryFiltersByCityID(long cityID);

        /// <summary>
        /// 插入一个筛选项
        /// </summary>
        /// <param name="spiderPoco"></param>
        /// <returns></returns>
        void InsertFilter(FilterPoco filterPoco);
    }
}
